﻿Public Class SpeedreportSettings

    Private _var_speedreport_view As SpeedreportView = LoaderExtensions.SpeedreportView.ShowGUI
    Private _var_speedreport_username As String = String.Empty
    Private _var_speedreport_connection As String = String.Empty
    Private _var_speedreport_comment As String = String.Empty
    Private _var_speedreport_template As String = String.Empty


    Public Property SpeedreportView As SpeedreportView
        Set(value As SpeedreportView)
            _var_speedreport_view = value
        End Set
        Get
            Return _var_speedreport_view
        End Get
    End Property

    Public Property SpeedreportUsername As String
        Set(value As String)
            _var_speedreport_username = value
        End Set
        Get
            Return _var_speedreport_username
        End Get
    End Property

    Public Property SpeedreportConnection As String
        Set(value As String)
            _var_speedreport_connection = value
        End Set
        Get
            Return _var_speedreport_connection
        End Get
    End Property

    Public Property SpeedreportComment As String
        Set(value As String)
            _var_speedreport_comment = value
        End Set
        Get
            Return _var_speedreport_comment
        End Get
    End Property

    Public Property SpeedreportTemplate As String
        Set(value As String)
            _var_speedreport_template = value
        End Set
        Get
            Return _var_speedreport_template
        End Get
    End Property

End Class

Public Enum SpeedreportView
    ShowGUI
    Write2File
    Hide
End Enum
